package com.kuang.utils;

import org.junit.Test;

import java.util.UUID;

/**
 * @program: mybatis-study
 * @description:
 * @author: 陈恩涛
 * @create: 2020-08-21 21:39
 **/
@SuppressWarnings("all")//抑制警告
public class IDUtiles {

    public static String getId(){
        return UUID.randomUUID().toString().replace("-","");
    }

    @Test
    public void test() {
        System.out.println(IDUtiles.getId());
    }
}
